package org.jeecg.modules.xl.store.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 客户门店工作人员
 * @Author: jeecg-boot
 * @Date:   2024-10-24
 * @Version: V1.0
 */
@ApiModel(value="xl_customer_mystore对象", description="客户门店工作人员")
@Data
@TableName("xl_customer_mystore")
public class XlCustomerMystore implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**用户名*/
	@Excel(name = "用户名", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "用户名")
    private String userName;
    @Excel(name = "手机号", width = 25)
    @ApiModelProperty(value = "手机号")
    private String phone;
	/**门店编码*/
    @ApiModelProperty(value = "门店编码")
    private String storeCode;
    @ApiModelProperty(value = "门店名称")
    private String storeName;
	/**门店等级，一批，二批，三批*/
	@Excel(name = "门店等级，一批，二批，三批", width = 15)
    @ApiModelProperty(value = "门店等级，一批，二批，三批")
    private String storeLevel;
	/**租户号*/
	@Excel(name = "租户号", width = 15)
    @ApiModelProperty(value = "租户号")
    private String tenantId;
	/**是否删除标志*/
	@Excel(name = "是否删除标志", width = 15)
    @ApiModelProperty(value = "是否删除标志")
    @TableLogic
    private Integer isDeleted;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
